home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / var / lib / dpkg / info / poedit.postinst < prev    next >
Encoding:
Text File  |  2012-11-06  |  544 b   |  31 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. case "${1}" in
  6.     configure)
  7.         update-alternatives \
  8.             --install /usr/bin/poedit poedit /usr/bin/poeditor 120 \
  9.             --slave /usr/share/man/man1/poedit.1.gz poedit.1.gz \
  10.             /usr/share/man/man1/poeditor.1.gz
  11.         ;;
  12.  
  13.     abort-upgrade|abort-remove|abort-deconfigure)
  14.  
  15.         ;;
  16.  
  17.     *)
  18.         echo "postinst called with unknown argument \`${1}'" >&2
  19.         exit 1
  20.         ;;
  21. esac
  22.  
  23. # Automatically added by dh_installmenu
  24. if [ "$1" = "configure" ] && [ -x "`which update-menus 2>/dev/null`" ]; then
  25.     update-menus
  26. fi
  27. # End automatically added section
  28.  
  29.  
  30. exit 0
  31.